package net.fpeg.kotlin.msa.wordbase.dao

import net.fpeg.kotlin.msa.wordbase.entity.WordUserRelationType
import org.springframework.data.jpa.repository.JpaRepository

interface WordUserRelationTypeDao : JpaRepository<WordUserRelationType, Long> {
    fun getById(id: Long): WordUserRelationType?
    fun findByWordUser_Id(id: Long): List<WordUserRelationType>
    fun findByWordUser_IdOrderByIdAsc(id: Long): List<WordUserRelationType>
}